package com.example.demo.entity;

import lombok.Data;

import java.util.Date;

@Data
public class User {
    private Integer user_id;
    private String user_name;
    private String password;
    private String music_label;
    private String profile_picture;
    private String user_sex;
    private Date create_date;
    private Date last_login_time;
    private Date user_birthday;
    private String background_photo;
    private String user_status;
    private String country_region;
    private Integer violation_count;
    private Integer total_play_count;
    private Integer follow_count;
    private Integer follower_count;
    private String biography;

    //注册检验用户名是否存在
    public String getUsername() {
        return user_name;
    }

    public String getProfilePicture() {
        return profile_picture;
    }
}
